Skip to content

fix slice_cn.rst#7726

Merged
luotao1 merged 1 commit intoPaddlePaddle:developfrom
HZ1ovo:develop
Feb 5, 2026
Merged

fix slice_cn.rst#7726
luotao1 merged 1 commit intoPaddlePaddle:developfrom
HZ1ovo:develop

Conversation

@HZ1ovo
Copy link
Contributor

@HZ1ovo HZ1ovo commented Feb 5, 2026

Description

Fix one error in #7663:

Errors in docs/api/paddle/slice_cn.rst
[404] https://docs.scipy.org/doc/numpy/reference/arrays.indexing.html | Rejected status code (this depends on your "accept" configuration): Not Found

This error also can be seen in https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/api/paddle/slice_cn.html:
image

Resolution

Change https://docs.scipy.org/doc/numpy/reference/arrays.indexing.html to https://numpy.org/doc/stable/user/basics.indexing.html, which is a stable page and same as origin link.

Origin page in 1.18 version:
image

Stable page:
image

@Echo-Nie

@CLAassistant
Copy link

CLAassistant commented Feb 5, 2026

CLA assistant check
All committers have signed the CLA.

@paddle-bot
Copy link

paddle-bot bot commented Feb 5, 2026

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7726.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

@github-actions
Copy link

github-actions bot commented Feb 5, 2026

📚 本次 PR 文档预览链接(点击展开)
ℹ️ 预览提醒
请等待 Docs-NEW 流水线运行完成后再点击预览链接,否则可能会看到旧版本内容或遇到链接无法访问的情况。

@luotao1
Copy link
Collaborator

luotao1 commented Feb 5, 2026

@Echo-Nie
Copy link
Collaborator

Echo-Nie commented Feb 5, 2026

Merging once CI passes.
Thx for your contribution! I’ve found the relevant files in the Paddle repo for you: slice_op.cc, manipulation.py
Feel free to submit a PR when you have time!

@luotao1 luotao1 merged commit 9eb74b1 into PaddlePaddle:develop Feb 5, 2026
6 checks passed
@luotao1
Copy link
Collaborator

luotao1 commented Feb 5, 2026

同学你好,如果有兴趣的话,可以将 #7663 整理成容易认领的模式。可参考

发布一个新的issue,然后号召更多的社区小伙伴来认领修复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants